/******************************************************************************/
package jamie.org.sil.www.usxUtils;

import java.io.IOException;



/******************************************************************************/
/**
   A class which writes header or trailer information to an output stream.
**/
   

public interface OutputStreamHeaderAndTrailerWriter
{
  /****************************************************************************/
  /****************************************************************************/
  /**                                                                        **/
  /**                                 Public                                 **/
  /**                                                                        **/
  /****************************************************************************/
  /****************************************************************************/

  /****************************************************************************/
  /**
     Writes out the header.

     @param Output stream.

     @throws IOException
  */

  public void writeHeader (MyOutputStream s) throws IOException;

  
  /****************************************************************************/
  /**
     Writes out the trailer.

     @param Output stream.

     @throws IOException
  */

  public void writeTrailer (MyOutputStream s) throws IOException;
}
